package com.example.common.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

@Data
@Entity
@Table(name = "h_hospital")
public class Hospital implements Serializable {

	private static final long serialVersionUID = -6751595209321639235L;
	@Id
	@Column(name = "id_bigint", columnDefinition = "bigint(20)")
	private Long id;
	@Column(name = "name_nvarchar", columnDefinition = "varchar(255)")
	private String name;
	@Column(name = "level_nvarchar", columnDefinition = "varchar(255)")
	private String level;
	@Column(name = "net_diagnosis_nvarchar", columnDefinition = "varchar(255)")
	private String netDiagnosis;
	@Column(name = "license_url_nvarchar", columnDefinition = "varchar(255)")
	private String licenseUrl;
	@Column(name = "awarded_nvarchar", columnDefinition = "varchar(255)")
	private String awarded;
	@Column(name = "address_nvarchar", columnDefinition = "varchar(255)")
	private String address;
	@Column(name = "banner_nvarchar", columnDefinition = "varchar(255)")
	private String banner;
	@Column(name = "self_address_nvarchar", columnDefinition = "varchar(255)")
	private String selfAddress;
	@Column(name = "self_name_nvarchar", columnDefinition = "varchar(255)")
	private String selfName;
	@Column(name = "ico_nvarchar", columnDefinition = "varchar(255)")
	private String ico;
	@Column(name = "lat_lon_nvarchar", columnDefinition = "varchar(255)")
	private String latLon;
	@Column(name = "badge_nvarchar", columnDefinition = "varchar(255)")
	private String badge;
	@Column(name = "tel_nvarchar", columnDefinition = "varchar(255)")
	private String tel;
	@Column(name = "org_code_nvarchar", columnDefinition = "varchar(255)")
	private String orgCode;
	@Column(name = "org_name_nvarchar", columnDefinition = "varchar(255)")
	private String orgName;
	@Column(name = "is_plant_order_bit", columnDefinition = "bit")
	private Boolean isPlantOrder;
	
}
